package com.syn.gmail.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syn.common.utils.PageUtils;
import com.syn.gmail.product.entity.SpuInfoEntity;
import com.syn.gmail.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author sunyn
 * @email 1416226125@qq.com
 * @date 2021-03-14 11:07:41
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);


    PageUtils queryPageByCondition(Map<String, Object> params);

    //商品上架
    void up(Long id);
}

